package ${packageName};

import android.content.Context;
import android.content.Intent;
import android.view.View;


import android.view.View;
import com.wjjun.basemvpvm.viewmodel.BaseViewModel;


import ${basePackage}.databinding.Activity${activityClass}Binding;
import ${basePackage}.ui.base.ListActivity;

import ${basePackage}.R;
import me.tatarka.bindingcollectionadapter2.ItemBinding;


/**
 * ${title}
 * 
 */
public class ${activityName} extends ListActivity <${viewModelName}, Activity${activityClass}Binding> {

    /*
    放到AllActivitiesModule中声明
    @ContributesAndroidInjector()
    abstract ${activityName} contribute${activityName}Injector();
    */

    public static void start(Context context) {
        Intent intent = new Intent(context, ${activityName}.class);
        context.startActivity(intent);
    }

    @Override
    public int getLayoutId() {
        return R.layout.${layout};
    }

    @Override
    protected ${viewModelName} initViewModel() {
        return new ${viewModelName}();
    }

    @Override
    protected void initContent() {
        super.initContent();
    }

    @Override
    public void onListItemBind(ItemBinding itemBinding, int position, Object item) {

    }

    @Override
    public void onClick(View view) {
        super.onClick(view);
    }

    @Override
    protected void onListItemClick(View view, BaseViewModel item) {

    }

    @Override
    public void refreshData(boolean init) {
        super.refreshData(init);
    }

    @Override
    public void loadData() {
        super.loadData();
    }
	

}
